package com.mapforge.gui.tools;

import javax.swing.JPanel;

import com.mapforge.map.tools.MapToolInterface;

public class MapToolPanel extends JPanel {
	/**
	 * Default eclipse generated ID, here to remove warnings.
	 */
	private static final long serialVersionUID = 1L;
	private MapToolInterface tool;

	public MapToolPanel(MapToolInterface tool) {
		this.tool = tool;
	}

	public void setMapTool(MapToolInterface tool) {
		this.tool = tool;
	}

	public MapToolInterface getMapTool() {
		return tool;
	}
}
